package com.bobgao.my_first_demo.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
@TableName("dohomework")
public class DoHomeworkEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId
    private Long did;

    private String workNamedo;

    private String workTeacherdo;

    private String workContentdo;

    private String workAskdo;

    private String workStudo;

    public Long getDid() {
        return did;
    }

    public void setDid(Long did) {
        this.did = did;
    }

    public String getWorkNamedo() {
        return workNamedo;
    }

    public void setWorkNamedo(String workNamedo) {
        this.workNamedo = workNamedo;
    }

    public String getWorkTeacherdo() {
        return workTeacherdo;
    }

    public void setWorkTeacherdo(String workTeacherdo) {
        this.workTeacherdo = workTeacherdo;
    }

    public String getWorkContentdo() {
        return workContentdo;
    }

    public void setWorkContentdo(String workContentdo) {
        this.workContentdo = workContentdo;
    }

    public String getWorkAskdo() {
        return workAskdo;
    }

    public void setWorkAskdo(String workAskdo) {
        this.workAskdo = workAskdo;
    }

    public String getWorkStudo() {
        return workStudo;
    }

    public void setWorkStudo(String workStudo) {
        this.workStudo = workStudo;
    }

    @Override
    public String toString() {
        return "DoHomeWorkEntity{" +
                "did=" + did +
                ", workNamedo='" + workNamedo + '\'' +
                ", workTeacherdo='" + workTeacherdo + '\'' +
                ", workContentdo='" + workContentdo + '\'' +
                ", workAskdo='" + workAskdo + '\'' +
                ", workStudo='" + workStudo + '\'' +
                '}';
    }
}
